package com.ruoyi.quartz.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 股票每日交易对象 stock_transaction_daily
 * 
 * @author ruoyi
 * @date 2023-11-24
 */
public class StockTransactionDaily extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** ts股票代码 */
    @Excel(name = "ts股票代码")
    private String tsCode;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 股票代码 */
    @Excel(name = "股票代码")
    private String code;

    /** 板块类型 */
    @Excel(name = "板块类型")
    private Integer market;

    /** 昨日收盘价 */
    @Excel(name = "昨日收盘价")
    private BigDecimal prePrice;

    /** 当日交易详情 */
    private String details;

    /** 交易日期 */
    @Excel(name = "交易日期")
    private String transactionDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTsCode(String tsCode) 
    {
        this.tsCode = tsCode;
    }

    public String getTsCode() 
    {
        return tsCode;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setMarket(Integer market) 
    {
        this.market = market;
    }

    public Integer getMarket() 
    {
        return market;
    }
    public void setPrePrice(BigDecimal prePrice) 
    {
        this.prePrice = prePrice;
    }

    public BigDecimal getPrePrice() 
    {
        return prePrice;
    }
    public void setDetails(String details) 
    {
        this.details = details;
    }

    public String getDetails() 
    {
        return details;
    }
    public void setTransactionDate(String transactionDate) 
    {
        this.transactionDate = transactionDate;
    }

    public String getTransactionDate() 
    {
        return transactionDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tsCode", getTsCode())
            .append("name", getName())
            .append("code", getCode())
            .append("market", getMarket())
            .append("prePrice", getPrePrice())
            .append("details", getDetails())
            .append("transactionDate", getTransactionDate())
            .toString();
    }
}
